// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import Vuex from 'vuex'
import store from './store/store'
Vue.use(Vuex)
import App from './App'
import router from './router'
import echarts from 'echarts'
Vue.prototype.$echarts = echarts
import iView from 'iview';
import 'iview/dist/styles/iview.css';
import './assets/font/iconfont.css'
import "./style/common.scss";
import './config/rem'
Vue.use(iView);
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
Vue.use(ElementUI);
//引入axios
import Axios from './service/axios'
Vue.config.productionTip = false;
Vue.prototype.$http = Axios;
//引入animate.css
import animated from 'animate.css' // npm install animate.css --save安装，在引入
Vue.use(animated)

new Vue({
  el: '#app',
  router,
  store,
  components: { App },
  template: '<App/>'
})